package com.example.common.config;

import com.auth0.jwt.JWTVerifier;
import com.example.common.utils.jwt.JwtUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ZhengDing
 * @date 2022/2/20 19:50
 */

@Configuration
public class JWTConfig {
    
    @Bean
    public JWTVerifier jwtVerifier() {
        return JwtUtils.createVerifier();
    }
}
